package com.exam.pojo;

/**
 * @author 蔡小凤
  *   学科类
 */
public class Subject {
	
	private Integer id;
	private String subjectName;
	private Integer majorId;
	private Integer classesId;
	private Integer state;
	
	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getSubjectName() {
		return subjectName;
	}

	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}

	public Integer getMajorId() {
		return majorId;
	}

	public void setMajorId(Integer majorId) {
		this.majorId = majorId;
	}

	public Integer getClassesId() {
		return classesId;
	}

	public void setClassesId(Integer classesId) {
		this.classesId = classesId;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "Subject{" + "id=" + id + ", subjectName='" + subjectName + '\'' + ", majorId=" + majorId + ", classesId=" + classesId + ", state=" + state + '}';
	}
}
